.index-page{
    background-color: rgb(252, 252, 252);
  }
  
   .clearFix::after,
  .clearFix::before {
    content: "";
    clear: both;
    display: block;
  }
  
  /* 顶部 */
  .top-bar {
    padding: 10px 0;
  } 
  
  .logo {
    height: 40px;
    width: 40px;
    overflow: hidden;
    background: url("../img/pika.jpg");
    background-size: 40px 40px;
    float: left;
    margin-top: 8px;
    margin-left: 6%;
  }
  
  .top-bar>h2{
      float: left;
      margin-top: 8px;
  }
  
  .search {
    float: right;
    margin-top: 16px;
    border-radius: 0 5px 5px 0;
    width: 400px;
    margin-right: 7%;
  }
  
  .search > span {
    width: 100%;
    float: right;
  }
  
  /* 轮播图 */
  .banner {
    width: 60%;
    float: left;
    height: 340px;
    margin-top: 20px;
  }
  
  .banner .banner-content {
    width: 90%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin-left: 10%;
    float: left;
  }
  
  .img {
    width: 100%;
    height: 100%;
  }
  
  /* 头条框 */
  .right-box {
    width: 30%;
    float: right;
    border: solid 2px #f6f6f6;
    margin-top: 20px;
    margin-right: 7%;
  }
  
  .news {
    overflow: hidden;
    padding: 10px 31px 21px;
    max-height: 340px;
    overflow: hidden;
  }
  
  .news-title {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: #0092d8;
    font-size: 18px;
    color: #1487f4;
  }
  








  .news-title > span {
    float: left;
    font-size: 12px;
    font-weight: normal;
    border: solid 1px #ff6600;
    padding: 0 5px;
    border-radius: 3px;
    color: #ff6600;
    margin: 4px 8px 0 0;
  }
  

  
  .news > ul {
    border-top: solid 1px #ddd;
    padding-top: 10px;
    list-style: none;
    height: 230px;
    overflow: hidden;
  }
  
  .news > ul > li {
    margin-left: -40px;
    margin-top: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 30px;
    position: relative;
  }
  

  .content-wrapper {
    position: relative;
    background:rgb(252, 252, 252);
    border: solid 2px #f6f6f6;
    margin: 5px 7% 5px 6%;
    overflow: hidden;
  }
  
  .category {
    color: #1487f4;
    border-bottom: solid 2px #f6f6f6;
    padding: 10px 10px;
  }
  
  .category > h2 {
    margin: 0;
  }
  
  .content {
    margin: 20px;
    overflow: hidden;
  }
  
  .first-content {
    width: 30%;
    float: left;
    margin-right: 10px;
    overflow: hidden;
  }
 
  .second-content {
    width: 30%;
    float: left;
    margin-right: 10px;
    overflow: hidden;
  }
  
  .third-content {
    width: 30%;
    float: left;
    overflow: hidden;
  }
  
 
  .content img {
    height: 160px;
    width: 100%;
    overflow: hidden;
    line-height: 120px;
    transition: 0.4s;
  }
  
   .content img:hover{
    transform: scale(1.1);
  }
  
  .content button {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  
  
  .content p{
    line-height: 20px;
    font-size: 14px;
    max-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  } 
  